{% extends "base.html" %}
{% block title %}Editar Usuario{% endblock %}
{% block head %}Editar Usuario{% endblock %}
{% block content %}
{% if show_user_list %}
{% include "user_list.html" %}
<form action="" method="get">
{{ searchform.buscar }}
<input type="submit" value="Buscar">
</form>
<br>
<input type="button" name="load" value="Volver al Men&uacute;" onClick='location.href="/"'>
{% else %}
<form method="post" action=".">
{{ user_edit_form.as_p }}
<input name="idUser" type="hidden" value={{idUser|urlencode}}>
<input type="submit" value="guardar" />
<input type="button" name="load" value="Cancelar" onClick='location.href="/user_edit/"'>
</form>
<!--input type="button" name="load" value="Cancelar" onClick='location.href="/user_edit/"'-->
{% endif %}
{% endblock %}